﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SH.Multitenant.Application.IServices.IApplicationForm
{
    public class TodoItem
    {
        /// <summary>
        /// 流程实例主键
        /// </summary>
        public string? InstanceId { get; set; }
        /// <summary>
        /// 申请人
        /// </summary>
        public string? Applicant { get; set; }
        /// <summary>
        /// 上一个操作人
        /// </summary>
        public string? PreOperator { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdTime { get; set; }
        public string? UpdTimeFormat
        {
            get
            {
                return UpdTime!.Value.ToString("yyyy年MM月dd日 hh时mm分");
            }
        }
        /// <summary>
        /// 申请单号
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }
        /// <summary>
        /// 原因
        /// </summary>
        public string? Reason { get; set; }
    }
}
